import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { StageComponent } from './stage.component';
import {TabMenuModule} from 'primeng/tabmenu';
import { AngularSplitModule } from 'angular-split';
import { GraphContainerComponent } from './graph-container/graph-container.component';
import { GraphOptionsComponent } from './graph-options/graph-options.component';
import { GraphToolbarComponent } from './graph-toolbar/graph-toolbar.component';
import { GraphSelectionPanelComponent } from './graph-selection-panel/graph-selection-panel.component';
import { FileTabMenuComponent } from './file-tab-menu/file-tab-menu.component';
import { DndModule } from '@ng-dnd/core';
import { DraggableModule } from './draggable/draggable.module';
import { SharedModule } from '../../../shared/shared.module';
import { AccordionModule } from 'primeng/accordion';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import {ConfirmDialogModule} from 'primeng/confirmdialog';
import {ToastModule} from 'primeng/toast';
import {DropdownModule} from 'primeng/dropdown';

const COMPONENTS = [
  GraphContainerComponent,
  StageComponent,
  GraphOptionsComponent,
  GraphSelectionPanelComponent,
  GraphToolbarComponent,
  FileTabMenuComponent,
]


@NgModule({
  declarations: [...COMPONENTS],
  imports: [
    CommonModule,
    SharedModule,
    TabMenuModule,
    AngularSplitModule,
    DndModule,
    DraggableModule,
    AccordionModule,
    NgbModule,
    ConfirmDialogModule,
    ToastModule,
    DropdownModule
  ],
  exports: [...COMPONENTS]
})
export class StageModule { }
